// LANGUAGE_VERSION: 1.9
// PROBLEM: none
// ERROR: Data object cannot have a custom implementation of 'equals' or 'hashCode'
data object A {
    <caret>override fun equals(other: Any?): Boolean = super.equals(other)
}
